home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / all java / quicktime for java / createpictfile / readme.txt < prev   
Encoding:
Text File  |  2000-06-23  |  2.3 KB  |  50 lines

  1. =============================================================================
  2. QuickTime for Java SDK                              Updated: 30 November 1998
  3.  
  4. Read Me Notes to "Create Pict File" Demo and Sample Code
  5.  
  6. =============================================================================
  7. This demo program shows how to create a PICT and PICT file from drawing operations into a QDGraphics 
  8.  
  9. =============================================================================
  10. The minimum runtime requirements for this Sample Code are:
  11.  
  12. - Common
  13.     - Sun Compliant Java Runtime Environment 1.1
  14.     - QuickTime 3 
  15.     - QTJava.zip
  16.  
  17. - MacOS:
  18.     - System 8 or later
  19.     - Macintosh Runtime for Java (MRJ) 2.1
  20.  
  21. - Windows 95, 98, or NT::
  22.     - JRE/JDK from Sun Microsystems, Inc. recommended
  23.  
  24. =============================================================================
  25. Media requirements for this Sample Code are:
  26.  
  27. A QuickTime image file of the user's choice
  28.  
  29. =============================================================================
  30. Notes & Comments
  31.  
  32. This code shows how to create a Pict file by  "recording" the results of a draw operation into a Pict object. Once the user selects an image file file it opens and displays the image in a new window. Clicking on the button at the top of the window saves the image as a pict file called results.pict in the application startup directory.
  33.  
  34. Every time the QDGraphics that is the recording source is drawn to this must be set to be the current GWorld or else the resultant PICT is corrupted. 
  35.  
  36. =============================================================================
  37. General Comments
  38.  
  39. - QTSession.open and close:
  40.  
  41. A QTSession.open will perform a gestalt check to ensure that QuickTime is present and is initialized. This is a required call before any QuickTime Java classes can be used.
  42.  
  43. When the user closes the window the program will quit, first calling QTSession.close to terminate QuickTime. It is necessary for programs to call QTSession.close if they have previously called QTSession.open in order to shut down QuickTime properly.
  44.  
  45.  
  46. =============================================================================
  47.  
  48. QuickTime and QuickTime for Java are trademarks of Apple Computer, Inc.
  49. (c) 1998 Apple Computer Inc. All rights reserved.
  50.